package com.jianganming.template;

public class DayOffProcessTest {
    public static void main(String[] args) {
        DayOffProcess process = new DayOffProcessImpl(new User("张三"),new Dept("市场部"));
        process.dayOffProcess();
        System.out.println("-----------------");
        process = new DayOffProcessImpl(new User("李四"),new Dept("技术部"));
        process.dayOffProcess();
    }
}
